<?php 
	$this->headTitle("..:: Administration ::..");
	
	//Add css file
	$this->headLink()->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/css/style.css')					//style admin page
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/smoothmenu/mrk_smooth/ddsmoothmenu.css')	//smooth menu
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/jquery-ui/css/ui-lightness/jquery-ui-1.10.3.custom.css')//jquery ui
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/alertify/css/alertify.core.css')
	//->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/alertify/css/alertify.default.css')
	//->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/gallery-progress-bar/css/nprogress.css')
	;
	
	//Add js file
	$this->headScript()->appendFile(PUBLIC_RESOURCE.'/skins/admin/js/jquery-2.0.3.min.js')			// jquery
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/smoothmenu/mrk_smooth/ddsmoothmenu.js') 	// smooth menu
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/frmAdminForm.js')							// xử lí toolbar
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/ckeditor/ckeditor.js')						// ckeditor
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/ckfinder/ckfinder.js')						// ckeditor
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/js/jquery-ui/js/jquery-ui-1.10.3.custom.js')	// jquery ui
	//->appendFile(PUBLIC_RESOURCE.'/skins/admin/js/alertify/js/alertify.min.js')	// alerify
	//->appendFile(PUBLIC_RESOURCE.'/skins/admin/js/gallery-progress-bar/js/nprogress.js')	// alerify
	
	;
?>
<!DOCTYPE HTML>
<html>   
    <head>
    	
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       <?php echo $this->headTitle()?>
       <?php echo $this->headLink()?>
       <?php echo $this->headScript()?>
       <?php echo $this->headMeta();?>
     <link href="http://fonts.googleapis.com/css?family=PT+Sans+Narrow:700" rel="stylesheet" />
    </head>
    <body>
        <!-- header -->
        <div id="wrapper-header">
            <?php echo $this->action('header','layout','admin',array('menubar'=>true))?>
        </div>
        <!-- end header-->
        
        <!-- body -->
        <div id="wrapper-selection">
		
            <div class="wrapper">
                <!-- tool bar -->
                	<?php echo $this->action('toolbar', 'layout','admin')?>
                <!-- end tool bar -->
				
				<!-- Flash Message -->				
					<?php echo $this->action('flashmessage','layout','admin')?>				
				<!-- End flash message -->
				
				<!-- Content -->
               	<div class="content">
					<?php echo $this->layout()->content;?>
				</div>
				<div class="clearb"></div>
				<!-- End Content -->
				
				<!-- tool bar -->
                	<?php echo $this->action('toolbar', 'layout','admin')?>
             	<!-- end tool bar -->
            </div>        
			
        </div>
         <!-- end body -->
         
        <!-- start footer -->
        <div id="wrapper-footer">
            <?php echo $this->action('footer', 'layout','admin')?>
        </div>
       <!-- end footer -->
       
    </body>
    
</html>